<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<h1>Test Case for Issue #1308</h1>
<script>
function runTest(callback)
{
    var request = new XMLHttpRequest();
    request.onreadystatechange = function () {
        if (request.readyState == 4 && request.status == 200 && callback)
            setTimeout(function() {
                callback(request);
            }, 300);
    };
    request.open("POST", "issue1308.txt", true);
    request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    request.send("param1=1+%2B 2");
}
</script>
</body>
</html>
